package com.echo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.echo.dto.ScheduleDTO;
import com.echo.entity.Schedule;
import com.echo.vo.ScheduleChangeVo;
import com.echo.vo.ScheduleVo;
import com.fasterxml.jackson.core.JsonProcessingException;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 * 存储计划总体信息的主表 服务类
 * </p>
 *
 * @author echo
 * @since 2024-11-13
 */
public interface IScheduleService extends IService<Schedule> {

    void creatSchedule(ScheduleDTO scheduleDTO);

    List<ScheduleVo> getDaySchedule(LocalDate localDate);

    List<ScheduleDTO> generateAiSchedule(String type) throws JsonProcessingException;

    void changeSchedule(String scheduleId);

//    void changeScheduleAll(ScheduleChangeVo scheduleChangeVo);

 void changeDaySchedule(ScheduleChangeVo scheduleChangeVo);
}
